﻿using SqlSugar;
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using GKQC.DbHelper.ViewModels;

namespace GKQC.DbHelper.DbModels
{
	/// <summary>
	/// 制程上料清单
	/// </summary>
	[SugarTable("t_wrk_mtr")]
	public class WorkshopMaterialModel
	{
		public WorkshopMaterialModel()
        {
			this.LotNo = string.Empty;
			this.Pn = string.Empty;

		}

		/// <summary>
		/// 流水号
		/// </summary>		
		[SugarColumn(IsPrimaryKey = true)] //是主键
		public long Id { get; set; }
		/// <summary>
		/// 单头Id
		/// </summary>		
		public long HeadId { get; set; }
		/// <summary>
		/// 料号
		/// </summary>		
		public string Pn { get; set; }
		/// <summary>
		/// 数量
		/// </summary>		
		public double Qty { get; set; }
		/// <summary>
		/// 批号
		/// </summary>		
		public string LotNo { get; set; }
		/// <summary>
		/// 投入时间
		/// </summary>		
		public DateTime? CreateDate { get; set; }

	}
}

